<div class="w100p filter">
      <div class="float_right">
        <div class="float_left button_leftb m10r">
          <div class="button_rightb"><a href="<?php echo $this->url(array("action" => "index")); ?>">
                                    <?php echo $this->translate->_("Back to user list");?>
                                </a></div>
        </div>
        <div class="cl"></div>
      </div>
      <div class="cb"></div>
    </div>
<div id="main">
      <div class="w950 mc bg_table po p15b">
        <div class="top_left"></div>
        <div class="top_right"></div>
        <div class="bottom_left"></div>
        <div class="bottom_right"></div>
        <h3 class="p15t p15l p15b bg_bot"><b><?php echo $this->translate->_("Add New User");?></b></h3>
        <div class="w920 mc p15t">
       	  <div class="w445 float_left">
      	      	<form id="data-form" onsubmit="return batteryObj.validateForm('data-form');" method="post">
      		<br class="clear" />
	      <label class="lbl2">User name:<em> *</em></label>
	      <input name="data[nickName]" value="" class="txt2 required" type="text" /><br class="clear" />
              <label class="lbl2">Full name:<em> *</em></label>
	      <input name="data[name]" value="" class="txt2" type="text" /><br class="clear" />
	      <label class="lbl2">Email: <em> *</em></label>
	      <input name="data[email]" value="" class="txt2 required email" type="text" /><br class="clear" />

	      <label class="lbl2">Password: <em> *</em></label>
	      <input name="data[password]" id="password" value="" class="txt2 required" type="password" /><br class="clear" />
              <label class="lbl2">Retype password: <em> *</em></label>
	      <input name="data[retypePassword]" id="retypepassword" value="" class="txt2 required" type="password" /><br class="clear" />
              <label class="lbl2">Group:</label>
              <select <?php if(!$this->isSuperAdmin){?>disabled<?php } ?> name="data[groupID]" class="txt2">
                  <?php foreach($this->groupList as $g){?>
                  <option value="<?php echo $g['GroupID'];?>"><?php echo $g['GroupName'];?></option>
                  <?php } ?>
              </select><br class="clear" />			 
              <label class="lbl2">Is active: </label>
              <select class="txt2" name="data[isActive]">
                  <option value="0">No</option>
                  <option value="1">Yes</option>
              </select>
<br class="clear" /><br/>
                  <label class="lbl2">&nbsp;</label>
          <div class="float_left button_leftb m3r">
          <div class="button_rightb"><a href="#"  onclick="if(batteryObj.validateForm('data-form')) document.forms[0].submit();"><?php echo $this->translate->_("Save");?></a></div>
        </div><div class="float_left button_leftb">
          <div class="button_rightb"><a href="<?php echo $this->url(array("action" => "index")); ?>"><?php echo $this->translate->_("Cancel");?></a></div>
        </div>
            </form>
            </div>  </div>
            <div class="cb"></div>
        </div>
      </div>
